
package org.appfuse.service;

import java.util.List;

import org.appfuse.dao.BasicInfoDao;
import org.appfuse.model.BasicInfo;

public interface BasicInfoManager extends Manager {

    /**
     * Set the Dao for communication with the data layer.
     * @param dao
     */
    public void setBasicInfoDao(BasicInfoDao dao);
    
	public abstract void save(BasicInfo transientInstance);
	
	public abstract void update(BasicInfo transientInstance);

	public void delete(BasicInfo persistentInstance);

	public BasicInfo findById(java.lang.String id);
	
	public List findByUserId(String userId);

	public List findByExample(BasicInfo instance);

	public List findByProperty(String propertyName, Object value);

	public List findAll();

}

